package com.yjc.drygoods.order.feign;

import com.yjc.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author yjc
 * @create 2022-09-23 23:31
 */
@FeignClient("drygoods-member")
public interface MemberFeignService {
    @GetMapping("/member/memberreceiveaddress/getMember/address")
    public R getMemberAddress(@RequestParam("memberId") Long memberId);

    @GetMapping("/member/memberreceiveaddress/getFare")
    public R getFare(@RequestParam("addrId") Long addrId);


}
